package familytree.yu.com.admin.api.entity.memberinfo;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.util.Date;

/**
 * @Author: yuyunbo
 * @Date: 2021/1/31 21:14
 * @Description: 会员详细信息表，会员编码分16张表  实体类
 */
@Entity
@Table(name = "base_member_detail_info")
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
public class BaseMemberDetailInfoEntity {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    private Long id;
    /**
     * 会员编码
     */
    @Column(name = "member_code")
    private String memberCode;
    /**
     * 姓名
     */
    @Column(name = "member_name")
    private String memberName;
    /**
     * 身份证号码
     */
    @Column(name = "member_card_no")
    private String memberCardNo;
    /**
     * 性别
     */
    @Column(name = "member_sex")
    private String memberSex;
    /**
     * 生日
     */
    @Column(name = "member_birthday")
    private String memberBirthday;
    /**
     * 省份
     */
    @Column(name = "member_province")
    private String memberProvince;
    /**
     * 市
     */
    @Column(name = "member_city")
    private String memberCity;
    /**
     * 区
     */
    @Column(name = "member_area")
    private String memberArea;
    /**
     * 县
     */
    @Column(name = "member_county")
    private String memberCounty;
    /**
     * 镇
     */
    @Column(name = "member_town")
    private String memberTown;
    /**
     * 详细地址
     */
    @Column(name = "member_detail_address")
    private String memberDetailAddress;

    /**
     * 创建时间
     */
    @Column(name = "gmt_created")
    private Date gmtCreated;
    /**
     * 创建人
     */
    @Column(name = "gmt_created_by")
    private String gmtCreatedBy;
    /**
     * 修改时间
     */
    @Column(name = "gmt_modified")
    private Date gmtModified;
    /**
     * 修改人
     */
    @Column(name = "gmt_modified_by")
    private String gmtModifiedBy;
    /**
     * 是否删除
     */
    @Column(name = "is_delete")
    private int isDelete;
}
